package org.example.websockettest.service.interfaces;

import org.example.websockettest.dao.User;

import java.util.Map;

public interface UserService {
    User register(String username, String password);
    public Map<String, String> login(String username, String password);
    public void updateUserOnlineStatus(String username, boolean isOnline);
    public User findUserByUsername(String username);
}
